package ai.example.langchain4j.service;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;
import reactor.core.publisher.Flux;

import static dev.langchain4j.service.spring.AiServiceWiringMode.AUTOMATIC;

@AiService(
  wiringMode = AUTOMATIC,
  chatMemoryProvider = "chatMemoryProvider"
)
public interface SteamAssistant {

    Flux<String> chat(@MemoryId String memoryId, @UserMessage String userMessage);

}
